package game;

public class Item {
    public static final String TYPE_HEALING = "healing";
    public static final String TYPE_ATTACK = "attack";
    String name;
    String type; // "治疗", "攻击", "防御", "体力", "闪避", "智力"
    int effect; // 效果值（治疗量、攻击加成等）
    int price;

    public Item(String name, String type, int effect, int price) {
        this.name = name;
        this.type = type;
        this.effect = effect;
        this.price = price;
    }

    public String getName() {
        return name;
    }

    public int getPrice() {
        return price;
    }
}